﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace App.Forms
{
    public partial class Main : Form
    {
        public Main()
        {
            InitializeComponent();
        }

        private void btnBalanceEnquery_Click(object sender, EventArgs e)
        {
            Model.CurrentSession.currentOperation = "BalanceEnquiry";
            var frm = new AccountType();
            frm.Show();
        }

        private void btnWithdraw_Click(object sender, EventArgs e)
        {
            Model.CurrentSession.currentOperation = "Cashwithdraw";
            var frm = new AccountType();
            frm.Show();
        }

        private void btnChangePIN_Click(object sender, EventArgs e)
        {
            Model.CurrentSession.currentOperation = "ChangePIN";
            var frm = new AccountType();
            frm.Show();
        }

        private void btnFastCash_Click(object sender, EventArgs e)
        {
            Model.CurrentSession.currentOperation = "Fastcash";
            var frm = new AccountType();
            frm.Show();
        }
    }
}
